#include "game.h"

Game* Game::instance = nullptr;
unsigned int Game::numOfPlayers = 4;   //默认玩家数为4

Game::Game() {
    players = new Player *[numOfPlayers];
    for (size_t i = 0; i < numOfPlayers; i++) players[i] = new Player(i);
}

Game::~Game() {
    for (size_t i = 0; i < numOfPlayers; i++)
        delete players[i];
}